package com.ton.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ton.domain.BookBean;
import org.apache.ibatis.annotations.*;
/**
 * 数据层接口
 * @author
 */
@Mapper
public interface BookDao extends BaseMapper<BookBean> {

    @Insert("INSERT INTO \"book_info\" VALUES  ( emp_seq.nextval, #{title}, #{author}, #{press},#{publishDate,jdbcType=DATE},#{price,jdbcType=NUMERIC})")
    int saveBook(BookBean bookBean);
}
